package com.example.springboot_c.pojo;

import jakarta.validation.constraints.*;
import lombok.Data;

@Data
public class UserAccount {
    private Long id;

    @NotBlank
    @Size(min = 3, max = 20)
    private String username;

    @NotBlank
    @Size(min = 6)
    private String password;

    @Email
    private String email;

    private Integer point = 0;

    private Integer status = 1;
}